home *** CD-ROM | disk | FTP | other *** search
- TITLE CAPTURE Version 3.0 - REDIRECT LPT1 TO DISK
-
- ; 4/03/84 - requires DOS 2.0 or above
-
- CAPTURE filespec
-
- Captures all printer output to memory buffer until the buffer
- is full or a '^Z' is received. The contents of the buffer is
- then written to filespec and a system reset is performed. I
- use this to copy debug output to disk for later perusal and
- editing. i.e. dis-assemblies of .com files
-
- Please note that the reason for the system reset is that I have
- not found any other way to keep from hanging the system after
- the file is written. If anyone knows how please let me hear
- about it. CAPTURE does not support path names.
-
- Note that to generate a ^Z type the F6 key or control Z while in
- DOS. CAPTURE actually watches for the string '^Z' to terminate, not
- 1AH as would normally be expected. The size of the memory buffer
- can be changed by changing the BUFSIZ equate to whatever you wish
- and then reassembling, linking and converting to a '.COM' file with
- EXE2BIN.
-
- Ted Reuss c/o South Texas Software, Inc.
- 5847 San Felipe, Suite 1800
- Houston, TX 77057
- (713) 783-9321
-
- BUFSIZ EQU 8000H ; buffer size (32768)